package com.ctshk.rpc.order.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ctshk.rpc.goods.dto.CommodityLogDTO;
import com.ctshk.rpc.goods.req.CommodityLogPageReq;
import com.ctshk.rpc.order.goods.entity.CommodityLog;
import com.ctshk.rpc.order.goods.mapper.provider.CommodityLogProvider;
import org.apache.ibatis.annotations.SelectProvider;

/**
 * <p>
 * 商品日志表 Mapper 接口
 * </p>
 *
 * @author 姜斌文
 * @since 2021-04-16
 */
public interface CommodityLogMapper extends BaseMapper<CommodityLog> {

    @SelectProvider(type = CommodityLogProvider.class, method = "findCommodityLogPageByCondition")
    IPage<CommodityLogDTO> findCommodityLogPageByCondition(IPage<CommodityLogDTO> page, CommodityLogPageReq pageReq);
}
